console.log((10).toString(2).padStart(8,"0"))
console.log(parseInt("00001010",2))

console.log((0.1).toString(2)) //0.0001100110011001100110011001100110011001100110011001101

console.log((0.2).toString(2)) //0.001100110011001100110011001100110011001100110011001101

//小数转2进制，是乘2取整

console.log(0.1 + 0.2 === 0.3) //false
